﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wedn.Core.Entity
{
    /// <summary>
    /// 文章视图模型
    /// </summary>
    public class PostView
    {
        private int id;
        /// <summary>
        /// 编号
        /// </summary>
        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        private string title;
        /// <summary>
        /// 标题
        /// </summary>
        public string Title
        {
            get { return title; }
            set { title = value; }
        }
        private string author;
        /// <summary>
        /// 作者
        /// </summary>
        public string Author
        {
            get { return author; }
            set { author = value; }
        }
        private string category;
        /// <summary>
        /// 类别
        /// </summary>
        public string Category
        {
            get { return category; }
            set { category = value; }
        }
        private string tag;
        /// <summary>
        /// 标签
        /// </summary>
        public string Tag
        {
            get { return tag; }
            set { tag = value; }
        }
        private int commentCount;
        /// <summary>
        /// 评论次数
        /// </summary>
        public int CommentCount
        {
            get { return commentCount; }
            set { commentCount = value; }
        }
        private string pubDate;
        /// <summary>
        /// 发布时间
        /// </summary>
        public string PubDate
        {
            get { return pubDate; }
            set { pubDate = value; }
        }
        private string status;
        /// <summary>
        /// 发布状态状态(草稿; 待发布; 已发布)
        /// </summary>
        public string Status
        {
            get { return status; }
            set { status = value; }
        }

    }
}
